package com.woniu.new_orange.entity;

import java.io.Serializable;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @TableName push_level
 */
@Data
public class PushLevel implements Serializable {
    private Integer pushLevelId;
    @NotBlank(message = "用户名不能为空")
    @Length(message = "用户名长度不能超过{max}个字符",max = 10)
    private String pushLevelName;
    @NotBlank(message = "备注不能为空")
    private String pushLevelDesc;

    private static final long serialVersionUID = 1L;
}